/*
 * @Author: boyyang
 * @Date: 2022-01-02 18:21:02
 * @LastEditTime: 2022-02-08 17:52:57
 * @LastEditors: boyyang
 * @Description: 
 * @FilePath: \boyyang\src\cloudbase\index.ts
 */

import { app, auth, db } from './init'

// 注册 登录 用户信息相关
import {
    signUpByEmail,
    singInByUserName,
    signInByEmail,
    signOut,
    loginState,
    userMes,
    userMesUpdate
} from './login'

// 数据库操作
import {
    upload,
    getImgs,
    delData,
    getData,
    findDataById,
    findDataByOpenId,
    addOneData,
    updateOneData,
    updateOneDataByOpenId
} from './db'

// 导出所有
export {
    app,
    auth,
    db,
    signUpByEmail,
    singInByUserName,
    signInByEmail,
    signOut,
    loginState,
    userMes,
    userMesUpdate,
    upload,
    getImgs,
    delData,
    getData,
    findDataById,
    findDataByOpenId,
    addOneData,
    updateOneData,
    updateOneDataByOpenId
}